<?php

class NewsController {



    public function invoke() {
        $viewFile = 'block/block_news/views/news.html';
        $xtemplate = new XTemplate($viewFile);

        $menu = $this->showNews(209);

        $xtemplate->assign('MENU', $menu);
        $xtemplate->parse('main');
        $xtemplate->out('main');
    }

   

    private function showNews($categoryID) {
        
        
    }

}

?>
